<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>设备类型</title>
  <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
  #parse('/headFiles.html')
</head>
<body>
<div class="layui-fluid layui-form" wid100>
    <input type="hidden" name="typeId" value="$!{batteryType.id}"/>
    <div class="layui-form-item">
        <label class="layui-form-label">电池类型</label>
        <div class="layui-input-block">
            <div class="layui-form-mid layui-word-aux">$!{batteryType.name}</div>
        </div>
    </div>
    <div class="layui-row">
        <div class="layui-col-sm6">
            <div class="layui-form-item">
                <label class="layui-form-label">押金</label>
                <div class="layui-input-inline">
                    <input type="text" name="depositMoneyStr" lay-verify="required"
                           placeholder="请输入押金" autocomplete="off" class="layui-input" value="$!{depositMoneyStr}">
                </div>
                <div class="layui-form-mid layui-word-aux">元</div>
            </div>
        </div>
        <div class="layui-col-sm6">
            <div class="layui-form-item">
                <label class="layui-form-label">默认日租金</label>
                <div class="layui-input-inline">
                    <input type="text" name="dayMoneyStr" lay-verify="required"
                           placeholder="请输入默认日租金" autocomplete="off" class="layui-input" value="$!{dayMoneyStr}">
                </div>
                <div class="layui-form-mid layui-word-aux">元</div>
            </div>
        </div>
    </div><!-- /.layui-row -->
    <div class="layui-card">
        <div class="layui-card-header">租期阶梯价格</div>
        <div class="layui-card-body">
            <div style="padding-bottom: 10px;">
                <button class="layui-btn LAY-btn-fun" data-type="add">新增</button>
            </div>
            <table id="LAY-table" lay-filter="LAY-table"></table>
        </div>
    </div>
    <div class="layui-form-item layui-hide">
        <input type="button" lay-submit lay-filter="LAY-form-submit" id="LAY-form-submit" value="确认">
    </div>
</div>
#parse('/footFiles.html')
<script>
layui.config({
  base: '$!{webRoot}/layuiadmin/' //静态资源所在路径
  ,webRoot:'$!{webRoot}'
}).extend({
  index: 'lib/index'
    ,bxscn_battery_type_day_cost:'bxscn/bxscn_battery_type_day_cost'
}).use(['index', 'bxscn_battery_type_day_cost'])
</script>
</body>
</html>